package com.lagou.annotation;

import java.lang.annotation.*;

/**
 * @author: lcz
 * @date: Created in 17:17 2020/10/5
 * @description:
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Transactional {
    Class<? extends Throwable>[] rollbackFor() default {};
}
